package com.example.store2.Mapper;

import com.example.store2.pojo.BeAdd;
import org.apache.ibatis.annotations.Case;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface BeAddMapper {
    @Select("select * from bevisited where beuser_id=#{id}")
    List<BeAdd> list(Integer id);

    @Select("select count(*) from bevisited where beuser_id=#{id}")
    Integer count(Integer id);
}
